package com.hisense.ovcloud.warehouse.entity.matrix;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@Data(staticConstructor = "model")
@Table("tbl_developer_info")
public class DeveloperInfo extends Model<DeveloperInfo> {

    public DeveloperInfo(long id, long developerId, String displayName, String company) {
        this.id = id;
        this.developerId = developerId;
        this.displayName = displayName;
        this.company = company;
    }

    public DeveloperInfo() {
    }

    @Id(keyType = KeyType.Auto)
    @Column(value = "id")
    private long id;

    @Column(value = "developer_id")
    private long developerId;

    @Column(value = "display_name")
    private String displayName;

    @Column(value = "company")
    private String company;
}
